package cn.xin.org.mapper;

import cn.xin.base.vo.EchartsMiddleVo;
import cn.xin.base.vo.EchartsVo;
import cn.xin.org.domain.Shop;
import cn.xin.base.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xin
 * @since 2022-12-26
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop finByName(String shopName);

    Shop findByAdminId(Long adminId);

    //报表
    List<EchartsMiddleVo> echarts();

    //导入
    void importExcel(List<Shop> shops);

}
